﻿using System.Collections.Generic;

using Whoever.Framework.Base;
using Whoever.Framework.Attributes;

using Whoever.Health.Business;
using Whoever.Health.Business.Entities;

namespace Whoever.Health.Website.Models
{
    public class ContactViewModel : ViewModel<Contact>
    {
        public ContactViewModel()
        {
            Filter = new ContactFilter();
        }

        public ContactFilter Filter { get; set; }

        [SelectableRelationship(ManagerType = typeof(ContactTypeManager))]
        public IEnumerable<ContactType> ContactTypeSelectList { get; set; }

        [SelectableRelationship(ManagerType = typeof(ContactStatusManager))]
        public IEnumerable<ContactStatus> ContactStatusSelectList { get; set; }
    }
}